package cz.fi.muni.pb138.spring2013.dtd2xsd.visitor.interfaces;

/**
 * This class represents interface for extended functionality of content restrictions.
 * Note : there is just semantic difference between interfaces in this package.
 * We are using more interfaces because they are not similar in real world.
 * This interface is implemented in 
 * {@link cz.fi.muni.pb138.spring2013.dtd2xsd.entities.SequenceRestriction SequenceRestriction}
 * {@link cz.fi.muni.pb138.spring2013.dtd2xsd.entities.ExtendedContentRestriction ExtendedContentRestriction}
 * {@link cz.fi.muni.pb138.spring2013.dtd2xsd.entities.ChoiceRestriction ChoiceRestriction}
 * and provide functionality for setting and getting flags in elements
 * @author Martin Strharsky
 */
public interface ExtendedContentRestriction extends ContentRestriction {

    public boolean isRequired();

    public void setRequired(boolean required);

    public boolean isMultiple();

    public void setMultiple(boolean multiple);
}
